<?php
include_once("include/include.php.inc");
html_header("Support admin");

/*   $backlink=getenv('HTTP_REFERER');*/

   if (isset($_GET['sup_uid'])) {
      $msup = $_GET['sup_uid'];
      $result = "DELETE FROM ssts_support WHERE ssts_support.sup_uid='$msup'";
      $action = mysql_query($result) or die("Error: ".mysql_error());
	  
	  $result = "DELETE FROM chd_users WHERE chd_users.uid='$msup'";
	  $action = mysql_query($result) or die("Error: ".mysql_error());
/*               if (FALSE === ($action = mysql_query($result)))
              {
                  print mysql_error()."<br />";
                  print $result;
              }*/

      print "<center>Support Personnel Deleted.</center>";
   }
   else
     print "<center>No Support # Passed!!! Error!!!!.</center>";

  html_footer();
?>
